package com.mediastory.spsserver.purchase.service.impl;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import net.sf.json.JSONObject;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.mediastory.spsserver.purchase.dao.PurchaseDao;
import com.mediastory.spsserver.purchase.service.PurchaseSvc;

@Service
@Transactional
public class PurchaseSvcImpl implements PurchaseSvc {

	@Autowired
	PurchaseDao purchaseDao;

	public PurchaseSvcImpl() {
		// TODO Auto-generated constructor stub
	}
	
	@Override
	public List<Map<String, Object>> findbyListPurchaseData(Map<String, Object> condition)
			throws Exception {
		// TODO Auto-generated method stub
		return purchaseDao.selectListPurchaseData(condition);
	}
	
}